package com.rdzn.mall.center.service;

import com.rdzn.mall.center.entity.PmsProductCategory;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * @Description: pms_product_category
 * @Author: jeecg-boot
 * @Date:   2020-08-27
 * @Version: V1.0
 */
public interface IPmsProductCategoryService extends IService<PmsProductCategory> {

    /**
     * 获取首页商品分类
     * @return
     */
    List<PmsProductCategory> listHome();

    List<PmsProductCategory> listRoot();

    List<PmsProductCategory> listByParentId(Integer parentId);

}
